using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UIObject : XObjBase
{
    protected override void OnEnable()
    {
        base.OnEnable();
        this.onVisible();
    }

    protected override void OnDisable()
    {
        base.OnDisable();
        this.OnInvisible();
    }

    protected virtual void onVisible()
    {

    }

    protected virtual void OnInvisible()
    {

    }
}
